<div id="header">
  <div id="header_content">
    <div class="ifme-logo small-screen">
      <%= link_to root_path do %>
        <span class="logo-text header-logo">If <span class="me">Me</span></span>
      <% end %>

      <i class="expand fa fa-bars" id="expand_nav"></i>

      <ul id="small_nav" class="display_none">
      <% if user_signed_in? %>
          <%= nav_link_to(t('moments.plural'), moments_path) %>
          <%= nav_link_to(t('categories.plural'), categories_path) %>
          <%= nav_link_to(t('moods.plural'), moods_path) %>
          <%= nav_link_to(t('strategies.plural'), strategies_path) %>
          <%= nav_link_to(t('medications.index.title'), medications_path) %>
          <%= nav_link_to(t('groups.plural'), groups_path) %>
          <%= nav_link_to(t('allies.index.title'), allies_path) %>
          <div class="horizonal_divider"></div>
          <%= nav_link_to(t('notifications.plural'), "", class: 'notifications_button') %>
          <%= nav_link_to(t('profile.index.title'), profile_index_path(uid: current_user.uid)) %>
          <%= nav_link_to(t('account.singular'), edit_user_registration_path) %>
          <%= nav_link_to(t('navigation.resources'), resources_path) %>
          <%= nav_link_to(t('shared.header.signout'), destroy_user_session_path, :method => :delete) %>
        <% else %>
          <%= nav_link_to(t('account.sign_in'), new_user_session_path) %>
          <%= nav_link_to(t('common.actions.join'), new_user_registration_path) %>
          <div class="horizonal_divider"></div>
          <%= nav_link_to(t('navigation.about'), about_path) %>
          <%= nav_link_to(t('navigation.blog'), blog_path) %>
          <%= nav_link_to(t('navigation.resources'), resources_path) %>
        <% end %>
      </ul>
    </div>

    <div class="ifme-logo large-screen">
      <%= render "shared/menu_logo" %>

      <ul class="top-nav primary-nav">
        <% if user_signed_in? %>
          <%= nav_link_to(t('shared.header.home'), root_path)  %>
          <%= nav_link_to(t('moments.plural'), moments_path, :class => "expand_moment_button") %>
          <%= nav_link_to(t('strategies.plural'), strategies_path) %>
          <%= nav_link_to(t('medications.index.title'), medications_path) %>
          <%= nav_link_to(t('groups.plural'), groups_path) %>
          <%= nav_link_to(t('allies.index.title'), allies_path) %>
        <% else %>
          <%= nav_link_to(t('account.sign_in'), new_user_session_path) %>
          <%= nav_link_to(t('common.actions.join'), new_user_registration_path) %>
          <li><div class="vertical_divider"></div></li>
          <%= nav_link_to(t('navigation.about'), about_path) %>
          <%= nav_link_to(t('navigation.blog'), blog_path) %>
          <%= nav_link_to(t('navigation.resources'), resources_path) %>
        <% end %>
        <div class="clear"></div>
      </ul>

      <% if user_signed_in? %>
        <ul id="expand_moment" class="top-nav display_none">
          <%= nav_link_to(t('categories.plural'), categories_path) %>
          <%= nav_link_to(t('moods.plural'), moods_path) %>
        </ul>

        <ul id="expand_me" class="top-nav large-screen display_none">
          <%= nav_link_to(t('notifications.plural'), "", class: 'notifications_button') %>
          <%= nav_link_to(t('profile.index.title'), profile_index_path(uid: current_user.uid)) %>
          <%= nav_link_to(t('account.singular'), edit_user_registration_path) %>
          <%= nav_link_to(t('navigation.resources'), resources_path) %>
          <%= nav_link_to(t('shared.header.signout'), destroy_user_session_path, :method => :delete) %>
        </ul>
      <% end %>
    </div>
  </div>
</div>
